<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>test2</title>
    <script>
        ctx = "${ctxPath!}";
        userid = "${session.cUserId!}";
        img_prefix = "${ctxPath!}/";
        imgserver = "${ctxPath!}";
    </script>

    <link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="/static/css/admin.css">
    <script src="/static/layui/layui.js"></script>
    <script src="/static/jquery/jquery.min.js?v=2.2.4"></script>
    <script src="/static/jquery/jquery.form.js?v=3.50.0"></script>
    <script src="/static/jqgrid/i18n/grid.locale-cnffe4.js?0820"></script>
    <script src="/static/jqgrid/jquery.jqGrid.minffe4.js?0820"></script>
    <script src="/static/jqgrid/frozen.js?v=1.0.1"></script>
    <script src="/static/jqgrid/myjqGrid.js"></script>
</head>
<body>
<form class="layui-form layui-form-pane" lay-filter="form">
    <div class="layui-inline">
        <button data-id="startProc" class="test" type="button" onclick=""> startProc</button>
        <button data-id="apply" class="test" type="button" onclick=""> apply</button>
        <button data-id="delegate" class="test" type="button" onclick=""> delegate</button>
        <button data-id="mend" class="test" type="button" onclick=""> mend</button>
        <button data-id="check" class="test" type="button" onclick=""> check</button>
    </div>
    <p/>
    <div class="layui-inline">
        <button data-id="startProc2" class="test" type="button" onclick=""> startProc2</button>
        <button data-id="claim" class="test" type="button" onclick=""> claim</button>
        <button data-id="unclaim" class="test" type="button" onclick=""> unclaim</button>
        <button data-id="note" class="test" type="button" onclick=""> note</button>
        <button data-id="complete" class="test" type="button" onclick=""> complete</button>
    </div>
    <p/>
    <div class="layui-inline">
        <button data-id="any" class="test" type="button" onclick=""> 任意门</button>
    </div>
</form>

<script type="text/javascript">
    $(document).on("click", ".test",
        function(e) {
            $.ajax("/mobile/test/"+$(this).data("id"))
        })
</script>
</body>
</html>